package com.sinosoft.app.packmarket.entity;

   /**
    * @ClassName PackOrder 实体类
    * @date 2017-2-17 
    * @author shangxp
    */ 

public class PackOrder {
//以下为循环实体类的代码
    //
    private int id;
    //订单号
    private String ordercode;
    //购买者ID
    private int sysUserId;
    //购买者
    private String buyer;
    //购买时间
    private String buytime;
    //包裹ID
    private int packEquityId;
    //包裹名称
    private String packname;
    //订单金额
    private String money;
    //购买数量
    private String buynum;

	public PackOrder(){};
	
	public PackOrder(
    		int id,
    		String ordercode,
    		int sysUserId,
    		String buyer,
    		String buytime,
    		int packEquityId,
    		String packname,
    		String money,
    		String buynum
		){
			super();
    		this.id=id;	
    		this.ordercode=ordercode;	
    		this.sysUserId=sysUserId;	
    		this.buyer=buyer;	
    		this.buytime=buytime;	
    		this.packEquityId=packEquityId;	
    		this.packname=packname;	
    		this.money=money;	
    		this.buynum=buynum;	
	};

    public int getId(){
        return id;
    }
    public void setId (int id){
        this.id = id;
    }
    public String getOrdercode(){
        return ordercode;
    }
    public void setOrdercode (String ordercode){
        this.ordercode = ordercode;
    }
    public int getSysUserId(){
        return sysUserId;
    }
    public void setSysUserId (int sysUserId){
        this.sysUserId = sysUserId;
    }
    public String getBuyer(){
        return buyer;
    }
    public void setBuyer (String buyer){
        this.buyer = buyer;
    }
    public String getBuytime(){
        return buytime;
    }
    public void setBuytime (String buytime){
        this.buytime = buytime;
    }

    public int getPackEquityId() {
		return packEquityId;
	}

	public void setPackEquityId(int packEquityId) {
		this.packEquityId = packEquityId;
	}

	public String getPackname(){
        return packname;
    }
    public void setPackname (String packname){
        this.packname = packname;
    }
    public String getMoney(){
        return money;
    }
    public void setMoney (String money){
        this.money = money;
    }
    public String getBuynum(){
        return buynum;
    }
    public void setBuynum (String buynum){
        this.buynum = buynum;
    }

	@Override
	public String toString() {
		return "PackOrder ["
		+"  id=" + id 
		+"  ordercode=" + ordercode 
		+"  sysUserId=" + sysUserId 
		+"  buyer=" + buyer 
		+"  buytime=" + buytime 
		+"  packEquityId=" + packEquityId 
		+"  packname=" + packname 
		+"  money=" + money 
		+"  buynum=" + buynum 
		+"]";		
	}
}